# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-panel
pkgver=3.52.0
pkgrel=0
pkgdesc="Gnome Panel provides panels and default applets for the gnome-flashback desktop"
url="https://wiki.gnome.org/Projects/GnomePanel"
# gdm
arch="all !armhf !s390x"
license="GPL-2.0-or-later"
makedepends="
	dconf-dev
	elogind-dev
	evolution-data-server-dev
	gdm-dev
	glib-dev
	gnome-desktop-dev
	gnome-desktop-dev
	gnome-menus-dev
	gtk+3.0-dev
	gtk-doc
	itstool
	libgweather4-dev
	libwnck3-dev
	libxrandr-dev
	libxres-dev
	pango-dev
	polkit-dev
	"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/gnome-panel/${pkgver%.*}/gnome-panel-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
56d986c01360b7625ee6a946fa053327dc1e9a429a71445b6e71d5c69c5a38b445e4d3ee28c71a0a2e5b3f1e0b5612f7138249379e88efa7e5cc03532532ec79  gnome-panel-3.52.0.tar.xz
"
